﻿namespace SchoolSystem.Server.Models
{
    using System.Runtime.Serialization;
    
    [DataContract]
    public abstract class PersonModel
    {
        [DataMember(Name = "firstName")]
        public string FirstName { get; set; }

        [DataMember(Name = "middleName")]
        public string MiddleName { get; set; }

        [DataMember(Name = "lastName")]
        public string LastName { get; set; }
    }
}